<template>
  <right-template :title="componentData.title" :tabName="componentData.tabName">
    <el-form class="right-switch">
      <input-normal label="导出表头" v-model="commonAttr.tableName" @change="onChangeAttr"></input-normal>
      <switch-normal v-model="commonAttr.need" label="设为必选项" @change="onChangeAttr"></switch-normal>
    </el-form>
  </right-template>
</template>

<script>
import RightTemplate from '@/views/child/right/right-template.vue'
import InputNormal from '@/views/components/edit/InputNormal.vue'
import SwitchNormal from '@/views/components/edit/SwitchNormal.vue'
import { editUtils } from '@/views/js/edit-utils'

export default {
  name: "RightSwitch",
  mixins: [editUtils],
  components: {
    RightTemplate,
    InputNormal,
    SwitchNormal,
  },
};
</script>
